e1000: releasing semaphore once no longer needed
authorTim Harvey <[email protected]>
Tue, 19 May 2015 17:01:18 +0000 (10:01 -0700)
committerJoe Hershberger <[email protected]>
Tue, 11 Aug 2015 18:10:01 +0000 (13:10 -0500)
commit7e2d991d63f2d24d567e259c822f24aa08c85d88
tree06ea800c16d1be728b7cad2abc6c1bd6e78036c4
parente2c1c5bae619d2e87505de99f907a26237640bc9
e1000: releasing semaphore once no longer needed

Once the hwsw semaphore is acquired, it must be released when access to the
hw is completed. Without this subsequent calls to acquire will timeout
obtaining the semaphore.

Cc: Marcel Ziswiler <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Aneesh Bansal <[email protected]>
Cc: Naveen Burmi <[email protected]>
Cc: Po Liu <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Alison Wang <[email protected]>
Cc: Reinhard Arlt <[email protected]>
Cc: Shengzhou Liu <[email protected]>
Cc: York Sun <[email protected]>
Signed-off-by: Tim Harvey <[email protected]>
Tested-by: Bin Meng <[email protected]>
Tested-by: Marcel Ziswiler <[email protected]>
drivers/net/e1000.c